<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
	class Variable extends CI_Controller { 
			public function load_data($title){
				$this->load->model('wus');
				$temp_title = '';
				if($title == null){
					$temp_title = "WUS";
				}else{
					$temp_title = $title;
				}
				return $datus = array(
					'title'=> $temp_title,
					'mod' => "",
					'modules'  => $this->wus->getModName(),
			        'modulemenu' => $this->wus->getModuleMenus(),
			        'forms' => $this->wus->getForms(),
			        'access'=> $this->wus->getAccess($this->session->userdata('user_id')),
      				'formfunction' => $this->wus->getFormFunctions()
				);
			}


			

	}
?>